* {
    padding: 0;
    margin: 0;
}
html,
body {
    height: 100%;
}

body {
    background: lightcoral;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-container {
    width: 100%;
    height: 120px;
    text-align: center;
    position: relative;
    height: 190px;
    transition: 0.5s;
}
.main-container .text {
    font-size: 120px;
    line-height: 120px;
    height: 120px;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
}
.main-container .text:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.main-container .text:nth-child(3) {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    transition: 0.5s;
}

.main-container .inner-text {
    height: 0px;
    overflow: hidden;
    transform: scale(1, 0);

    position: absolute;
    top: 60px;
    width: 100%;
    font-size: 50px;
    line-height: 60px;
    text-align: center;
}
.main-container:hover .inner-text {
    height: 70px;
    transform: scale(1, 1);
    transition: 0.5s;
}
.main-container:hover .text:nth-child(3) {
    top: 70px;
}
